package com.qingkai.onlineshop.data.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "item")
data class ItemEntity(
    @PrimaryKey(autoGenerate = true) val id: Int = 0,
    val title: String,
    val description: String,
    val price: Int,
    val rating: Double,
    val showRecommended: Boolean,
    val categoryId: Int
)